#ifndef INSTANCECALL_H
#define INSTANCECALL_H

#include "src/device/modbusControl/mbControl.h"
#include <base/errorcode.h>

#include <queue>
class InstanceCall
{
public:
    InstanceCall();
    void run();
    void func(int);
    void call_func();

private :
    std::shared_ptr<mbControl> _mb_ptr;///电机指针
    std::queue<int> sig_que;
    bool bRecv;
};

#endif // INSTANCECALL_H
